import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
//导入安装的axios模块
import axios from 'axios'
Vue.config.productionTip = false
//在Vue中定义一个原型变量$http,其值为导入的axios，可以从Vue中得到$http,调用$http.get()或者post
Vue.prototype.$http=axios
//导入element-ui
import ElementUI from 'element-ui';
//使用cookie
import VueCookies from "vue-cookies";
//导入样式文件
import 'element-ui/lib/theme-chalk/index.css';
//在Vue中使用element-ui


Vue.use(ElementUI);
Vue.use(VueCookies);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')